home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / UTILITY1 / MSWSRC35.ZIP / SETUP / SETUP.RC < prev    next >
Text File  |  1992-06-11  |  11KB  |  267 lines

  1. /****************************************************************************
  2. Module name: Setup.RC
  3. Programmer : Jeffrey M. Richter.
  4. *****************************************************************************/
  5.  
  6. #include <windows.h>
  7. #include <ver.h>
  8. #include "setup.h"
  9.  
  10. ICN_SETUP   ICON     PRELOAD FIXED Setup.Ico
  11. ICN_DISK    ICON     PRELOAD FIXED Disk.Ico
  12.  
  13. STRINGTABLE PRELOAD FIXED
  14. BEGIN
  15. IDS_CANNOTINIT,
  16.    "Cannot initialize Setup."
  17. IDS_NOMEMORY,
  18.    "Insufficient memory to run Setup. Close some applications and try again."
  19. IDS_NOSETUPINFOFILE,
  20.    "The %s file cannot be found. Please verify the distribution diskette."
  21. IDS_NODISKSPACE,
  22.    "Drive %c: contains %ldK of free disk space. Setup requires a minimum of %ldK. Please select another drive."
  23. IDS_SETUPNOGOOD,
  24.    "The software has not been successfully installed. You must run Setup again before using the software."
  25. IDS_PMADDOK,
  26.    "Setup has installed the software successfully and added the application(s) to the Program Manager."
  27. IDS_PMADDNOGOOD,
  28.    "Setup has installed the software successfully but could not add the application(s) to the Program Manager."
  29. IDS_CANTMAKEDIR,
  30.    "The %s directory cannot be created. Enter another directory or try another drive."
  31. IDS_QUERYABORT,
  32.    "Setup has not completed installing the software. Are you sure you want to cancel?"
  33. IDS_FILEINUSE,
  34.    "%s is in use."
  35. IDS_OUTOFSPACE,
  36.    "Insufficient space on destination drive."
  37. IDS_ACCESSVIOLATION,
  38.    "An access violation occurred."
  39. IDS_SHARINGVIOLATION,
  40.    "A sharing violation occurred."
  41. IDS_CANNOTCREATE,
  42.    "The new file could not be created on the destination drive."
  43. IDS_CANNOTDELETE,
  44.    "The existing file or temporary file could not be deleted."
  45. IDS_CANNOTRENAME,
  46.    "The temporary file cannot be renamed."
  47. IDS_OUTOFMEMORY,
  48.    "Insufficient memory to install file."
  49. IDS_CANNOTREADSRC,
  50.    "The source file cannot be read."
  51. IDS_CANNOTREADDST,
  52.    "The existing file cannot be read."
  53. IDS_WRITEPROT,
  54.    "The existing file is write protected."
  55. IDS_MISMATCH,
  56.    "Existing file and new file mismatch."
  57. IDS_SRCOLD,
  58.    "The new file is older than the existing file."
  59. IDS_DIFFLANG,
  60.    "Existing and new files are different languages."
  61. IDS_DIFFCODEPG,
  62.    "Existing and new files are different code pages."
  63. IDS_DIFFTYPE,
  64.    "Existing and new files are different types."
  65. END
  66.  
  67.  
  68.  
  69. DLG_INITIALIZE DIALOG PRELOAD FIXED 0, 0, 192, 33
  70. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE
  71. FONT 6, "Helv"
  72. BEGIN
  73.    CONTROL "Initializing Setup\nPlease wait...",
  74.       -1, "static", SS_CENTER | SS_NOPREFIX | WS_CHILD |
  75.       WS_VISIBLE, 8, 8, 180, 20
  76. END
  77.  
  78. DLG_WELCOME DIALOG PRELOAD FIXED 0, 0, 192, 100
  79. CAPTION "Caption"
  80. FONT 6, "Helv"
  81. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU |
  82.    DS_MODALFRAME | WS_POPUP
  83. BEGIN
  84.    CONTROL "Setup will install this application into the following directory, which it will create on your hard disk.", -1, "static", SS_LEFT | WS_CHILD, 8, 8, 180, 20
  85.    CONTROL "If you want to install the application in a different directory and/or drive. Type the name of the directory below:", -1, "static", SS_LEFT | WS_CHILD, 8, 32, 180, 28
  86.    CONTROL "Copy to:", -1, "static",
  87.       SS_LEFT | WS_CHILD, 32, 60, 32, 12
  88.    CONTROL "", ID_DESTPATH, "edit", ES_AUTOHSCROLL | ES_LEFT |
  89.       ES_UPPERCASE | WS_BORDER | WS_TABSTOP | WS_CHILD,
  90.       64, 60, 84, 12
  91.    CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON |
  92.       WS_TABSTOP | WS_CHILD, 48, 80, 32, 16
  93.    CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON |
  94.       WS_TABSTOP | WS_CHILD, 108, 80, 32, 16
  95. END
  96.  
  97.  
  98. DLG_INSERTDISK DIALOG PRELOAD FIXED 0, 0, 192, 72
  99. CAPTION "Caption"
  100. FONT 6, "Helv"
  101. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU |
  102.    DS_MODALFRAME | WS_POPUP
  103. BEGIN
  104.    CONTROL "#11", -1, "static", SS_ICON | WS_CHILD, 4, 4, 16, 16
  105.    CONTROL "Setup needs the following disk:", -1, "static",
  106.       SS_LEFT | WS_CHILD, 40, 4, 112, 8
  107.    CONTROL "Application Diskette", ID_DISKNAME, "static",
  108.       SS_LEFT | WS_CHILD, 40, 12, 112, 12
  109.    CONTROL "", ID_SRCPATH, "edit", ES_LEFT | ES_UPPERCASE |
  110.       WS_BORDER | WS_TABSTOP | WS_CHILD, 16, 32, 160, 12
  111.    CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP |
  112.       WS_CHILD, 48, 52, 32, 16
  113.    CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON |
  114.       WS_TABSTOP | WS_CHILD, 112, 52, 32, 16
  115. END
  116.  
  117.  
  118.  
  119. DLG_STATUS DIALOG PRELOAD FIXED 0, 0, 188, 68
  120. CAPTION "Caption"
  121. FONT 6, "Helv"
  122. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  123. BEGIN
  124.    CONTROL "", ID_STATLINE1, "static", SS_LEFT | WS_CHILD,
  125.       4, 4, 144, 12
  126.    CONTROL "", ID_STATLINE2, "static", SS_LEFT | WS_CHILD,
  127.       4, 16, 144, 12
  128.    CONTROL "", ID_METER, "meter", WS_BORDER | WS_CHILD,
  129.       16, 28, 156, 12
  130.    CONTROL "&Cancel", IDCANCEL, "button", BS_DEFPUSHBUTTON |
  131.       WS_TABSTOP | WS_CHILD, 76, 48, 32, 16
  132. END
  133.  
  134. DLG_CURNEDEST DIALOG PRELOAD FIXED 18, 18, 170, 162
  135. CAPTION "Caption"
  136. FONT 6, "helv"
  137. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE |
  138.    WS_CAPTION | WS_SYSMENU
  139. BEGIN
  140.    CONTROL "Attempted to install the file:", -1, "STATIC",
  141.       SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 4, 160, 12
  142.    CONTROL "FILENAME.EXT", ID_DSTFILENAME, "STATIC", SS_CENTER |
  143.       SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP,
  144.       4, 16, 164, 12
  145.    CONTROL "in this directory:", -1, "STATIC", SS_LEFT |
  146.       WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 28, 160, 12
  147.    CONTROL "D:/DESIRED/PATH", ID_DSTDIR, "STATIC", SS_CENTER |
  148.       SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 39, 164, 12
  149.    CONTROL "but, it currently exists in:", -1, "STATIC",
  150.       SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 52, 160, 12
  151.    CONTROL "D:/EXISTING/PATH", ID_CURDIR, "STATIC", SS_CENTER |
  152.       SS_NOPREFIX | WS_CHILD | WS_VISIBLE | WS_GROUP,
  153.       4, 63, 164, 12
  154.    CONTROL "Install the new file and &delete the existing file",
  155.       ID_INSTALLANDDELETE, "BUTTON", BS_AUTORADIOBUTTON |
  156.       WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 80, 164, 12
  157.    CONTROL "Install the new file and &keep the existing file",
  158.       ID_INSTALLANDKEEP, "BUTTON", BS_AUTORADIOBUTTON |
  159.       WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 92, 164, 12
  160.    CONTROL "&Replace existing file with new file",
  161.       ID_REPLACEEXISTING, "BUTTON", BS_AUTORADIOBUTTON |
  162.       WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 104, 164, 12
  163.    CONTROL "Do ¬ install the new file", ID_SKIPINSTALL,
  164.       "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE |
  165.       WS_TABSTOP, 4, 116, 156, 12
  166.    CONTROL "&Abort the installation", ID_ABORTINSTALL, "BUTTON",
  167.       BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP,
  168.       4, 128, 100, 12
  169.    CONTROL "&Ok", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD |
  170.       WS_VISIBLE | WS_TABSTOP, 64, 144, 32, 14
  171. END
  172.  
  173.  
  174. DLG_FILEINUSE DIALOG PRELOAD FIXED 18, 18, 245, 174
  175. CAPTION "Caption"
  176. FONT 6, "helv"
  177. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  178. BEGIN
  179.    CONTROL "Setup cannot install the following file because it is in use:", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 4, 228, 8
  180.    CONTROL "D:/DIRECTORY/PATH/FILENAME.EXT", ID_FILENAMEINUSE,
  181.       "STATIC", SS_CENTER | SS_NOPREFIX | WS_CHILD |
  182.       WS_VISIBLE | WS_GROUP, 4, 12, 235, 12
  183.    CONTROL "Select one of the following options:", -1, "STATIC",
  184.       SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 32, 188, 12
  185.    CONTROL "A&ttempt to install the file again.", IDRETRY,
  186.       "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE |
  187.       WS_TABSTOP, 4, 44, 200, 12
  188.    CONTROL "You may close other applications using this file and attempt to install the file again.", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 12, 57, 228, 16
  189.    CONTROL "&Do not install this file", IDIGNORE, "BUTTON",
  190.       BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP,
  191.       4, 80, 216, 12
  192.    CONTROL "Setup will not install this file.  You will have to run Setup again or install the file manually.  Refer to the documentation for more information.", -1, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 12, 93, 228, 24
  193.    CONTROL "&Abort Setup.", IDABORT, "BUTTON",
  194.       BS_AUTORADIOBUTTON |